home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / gfx / 3d / irit50src.lha / irit5 / include / convex.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-22  |  907 b   |  27 lines

  1. /******************************************************************************
  2. * Convex.h - test convexity and converts polygons to convex ones.          *
  3. *******************************************************************************
  4. * Written by Gershon Elber, March 1990.                          *
  5. ******************************************************************************/
  6.  
  7. #ifndef CONVEX_GH
  8. #define CONVEX_GH
  9.  
  10. #if defined(__cplusplus) || defined(c_plusplus)
  11. extern "C" {
  12. #endif
  13.  
  14. /* Prototypes of global functions of CONVEX module: */
  15. IPObjectStruct *ConvexPolyObjectN(IPObjectStruct *PObj);
  16. void ConvexPolyObject(IPObjectStruct *PObj);
  17. int ConvexPolygon(IPPolygonStruct *Pl);
  18. IPPolygonStruct *SplitNonConvexPoly(IPPolygonStruct *Pl);
  19. void GenRotateMatrix(MatrixType Mat, VectorType Dir);
  20. void ReverseVrtxList(IPPolygonStruct *Pl);
  21.  
  22. #if defined(__cplusplus) || defined(c_plusplus)
  23. }
  24. #endif
  25.  
  26. #endif /* CONVEX_GH */
  27.